import logging



some_flag1 = False

# 定义触发条件函数
def trigger_condition1():
    # 模拟触发条件
    return some_flag1

def task1():
    logging.info("tf-1 task1 执行任务 1")

def task2():
    logging.info("tf-1 task2 执行任务 2")

def task3():
    logging.info("tf-1 task3 执行任务 3")
    
def task4():
    logging.info("tf-1 task4 执行任务 4")